package edu.gatech.bsbmule.tests;
import static org.junit.Assert.*;
import java.awt.Color;
import org.junit.Test;
import edu.gatech.bsbmule.model.Player;
import edu.gatech.bsbmule.model.Store;



/**
 * @author manav kothari
 * This class contains the required JUnit Test
 *
 */
public class JUnitTest_ManavKothari {
	static Store S1=Store.getInstance();
	
	Player p1 = new Player("dark", Color.black, 3, 1000,3,3,3 );
    
	@Test
    public void test1(){
    	boolean k = S1.hasMoney(p1, 2000);
    	assertEquals(false, k);
    	
    }
	
	 Player p2 = new Player("dark", Color.black, 3, 1040,3,3,3 );
	    @Test
	    public void test2(){
	    	boolean g = S1.hasMoney(p2, 900);
	    	assertEquals(true, g);
	    	
	    }
	    
	    
	    Player p3 = new Player("dark", Color.black, 3,1000,3,3,3);
	    @Test
	    public void test3(){
	    	boolean f = S1.hasMoney(p3, 1000);
	    	assertEquals(true, f);
	    }
	
   
	
}